package com.hzx.ssm.dao;

import com.hzx.ssm.entity.Comment;
import com.hzx.ssm.entity.ResBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CommentDao {
    void addComment(Comment comment);


    void deleteOneById(@Param("comment_id") String comment_id);

    List<Comment> findCommentToMessage(@Param("message_id") String message_id);

    Comment findComment(@Param("comment_id") String comment_id,
                        @Param("comment_userId") String comment_userId);


}
